<template>
  <div class="header">
    <el-image
      v-if="details.banner"
      style="width: 100%; height: 270px"
      :src="details.banner"
      fit="cover"
    ></el-image>
  </div>
</template>

<script>
export default {
  data() {
    return {
      details: {},
    }
  },
  async mounted() {
    let res = await this.api.findDownloadFile({ customizeId: 1 })
    this.details = res
    console.log(res, '?????????????')
  },
}
</script>

<style lang="less" scoped>
.header {
  width: 100%;
  height: 270px;
  img {
    //   height: 276px;
  }
}
</style>
